import axios from './http'
export default{
	/*获取登录日志*/
	getLoginLog(data){
		return post('/log/getLoginLog',data)
	},
	/*获取操作日志*/
	getLoginlist(data){
		return axios.post('/log/getList',data)
	},

	// 4.获取短信记录、短信验证码
    getSmsLog(page, pageSize, phone = '') {
		return axios.get('/smsLog?page='+page+'&pageSize='+pageSize+'&phone='+phone)
    },
	// 5.错误日志
    getErrLog(page, pageSize) {
		return axios.get('/getErrorLog?page='+page+'&pageSize='+pageSize);
    },
}
